* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 800px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.header h1 {
    color: #2c3e50;
    font-size: 2.8rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #4361ee, #3a0ca3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header p {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.left-panel {
    flex: 2;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.left-panel ul {
    list-style-type: none;
    margin: 20px 0;
}

.left-panel li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.left-panel li i {
    font-size: 1.2rem;
    color: #4cc9f0;
}

.right-panel {
    flex: 3;
    padding: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #34495e;
    font-size: 1.1rem;
}

input,
select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s;
    background: white;
}

.form-group > select {
    appearance: none;
    /* 移除默认样式 */
    -webkit-appearance: none;
    /* Safari 和 Chrome */
    -moz-appearance: none;
    /* Firefox */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2334495e' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
}

input:focus,
select:focus {
    border-color: #4361ee;
    outline: none;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.2);
}

.btn {
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(to right, #4361ee, #3a0ca3);
    color: white;
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(67, 97, 238, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: #4361ee;
    border: 2px solid #4361ee;
    margin-top: 15px;
}

.btn-secondary:hover {
    background: #f0f4ff;
}

.message-container {
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.5s;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
    display: block;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.05);
    z-index: 1;
}

.decoration:nth-child(1) {
    top: -100px;
    right: -100px;
}

.decoration:nth-child(2) {
    bottom: -150px;
    left: -100px;
    width: 350px;
    height: 350px;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #7f8c8d;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.footer a {
    color: #4361ee;
    text-decoration: none;
    font-weight: 600;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember input {
    width: auto;
}

.forgot-password {
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
    }

    .container {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}